﻿<controls:ChildWindow x:Class="VAdvantage.ImpExp.MapLocation"
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
           xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
           xmlns:controlsToolkit="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Toolkit"    
           Width="631" Height="373" 
           Title="MapLocation">
    <Grid x:Name="LayoutRoot" Margin="2">
        <Grid.RowDefinitions>
            <RowDefinition />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>

        
         <Button x:Name="OKButton" Content="OK" Click="OKButton_Click" Width="75" Height="23" HorizontalAlignment="Right" Margin="0,12,0,0" Grid.Row="1" />

        <controlsToolkit:BusyIndicator Name="loadWindowsDetails" IsBusy="False" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" BusyContent="Loading..." >

            <Grid Margin="0" Name="grid1">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="262*" />
                    <ColumnDefinition Width="85" />
                    <ColumnDefinition Width="262*" />
                </Grid.ColumnDefinitions>
                <Grid.RowDefinitions>
                    <RowDefinition Height="165" />
                    <RowDefinition Height="134*" />
                </Grid.RowDefinitions>


                <ListBox Grid.Column="2" Margin="0" Name="lstDBCols" />
                <ListBox  Margin="0" Name="lstExcelCols" />
                <Button Content="Map" Grid.Column="1" Height="49" HorizontalAlignment="Left" Margin="12,26,0,0" Name="btnMap" VerticalAlignment="Top" Width="61" />
                <Button Content="UnMap" Grid.Column="1" Height="51" HorizontalAlignment="Left" Margin="13,84,0,0" Name="btnUnMap" VerticalAlignment="Top" Width="60" />
                <ListBox Grid.Row="1" Margin="0,8,0,0" Name="lstLocationMap" Grid.ColumnSpan="3" />
            </Grid>

        </controlsToolkit:BusyIndicator>
    </Grid>
</controls:ChildWindow>